﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin_MasterPage.Master" AutoEventWireup="true" CodeFile="CapNhatSanPham.aspx.cs" Inherits="Admin_CapNhatSanPham" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="allthemsanpham">
        <h3 style="color:Red; font-size:large;">Cập nhật sản phẩm</h3>
         <div id="contentthemsanpham" style="border:1px solid black;"> 
            
            <table border="1" id="table1" visible="false" cellspacing="0" >
                   
                    <tr>
                        <td style="height: 28px">
                            Mã sản phẩm
                        </td>
                        <td colspan="3" style="height: 28px">
                            &nbsp;<asp:TextBox ID="txt_masp" runat="server" Width="302px" Enabled="False"></asp:TextBox></td>
                    </tr>
                    <!-- End tr masanpham-->
                    <tr>
                        <td style="width:100px;">
                            Hình Ảnh:
                        </td>
                        <td colspan="3">
                        <asp:Repeater ID="repeater_hinhanh" runat="server" 
                onitemdatabound="repeater_hinhanh_ItemDataBound" >
                <ItemTemplate>
                <asp:ImageMap ID="img_map" ImageUrl="" width="60px" height="60px" runat="server">
                                </asp:ImageMap>
                            <asp:FileUpload ID="FileUpload1" runat="server" Width="305px" />                            
                </ItemTemplate>
                </asp:Repeater>
                        </td>

                    </tr>
                    <!-- End tr hinhanh-->
                    <tr>
        <td style="width:30%;">Tên sản phẩm</td>
        <td>
            <asp:TextBox ID="txt_tensp" runat="server" Width="226px"></asp:TextBox>
            
        </td>
    </tr>
    <tr>
        <td>Loại sản phẩm</td>
        <td>
            <asp:DropDownList ID="ddl_loaisp" runat="server" Width="120px">
            </asp:DropDownList>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">CPU</td>
        <td>
            <asp:TextBox ID="txt_CPU" runat="server" Width="228px"></asp:TextBox>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">RAM</td>
        <td>
            <asp:TextBox ID="txt_ram" runat="server" Width="228px"></asp:TextBox>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">HDD</td>
        <td>
            <asp:TextBox ID="txt_hdd" runat="server" Width="233px"></asp:TextBox>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">Card màn hình</td>
        <td>
            <asp:TextBox ID="txt_cardmanhinh" runat="server" Width="231px"></asp:TextBox>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">CD_DVD</td>
        <td>
            <asp:TextBox ID="txt_CD" runat="server" Width="236px"></asp:TextBox>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">Màn hình</td>
        <td>
            <asp:TextBox ID="txt_manhinh" runat="server" Width="237px"></asp:TextBox>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">Mạng</td>
        <td>
            <asp:TextBox ID="txt_mang" runat="server" Width="236px"></asp:TextBox>
            
        </td>
        </tr>
 <tr>
        <td style="width:30%;">Tích hợp</td>
        <td>
            <asp:TextBox ID="txt_tichhop" runat="server" Width="237px"></asp:TextBox>
            
        </td>
        </tr>
 <tr>
        <td style="width:30%;">Trọng lượng</td>
        <td>
            <asp:TextBox ID="txt_trongluong" runat="server" Width="235px"></asp:TextBox>
            
        </td></tr>
 <tr>
        <td style="width:30%;">Pin</td>
        <td>
            <asp:TextBox ID="txt_pin" runat="server" Width="240px"></asp:TextBox>
            
        </td>
        </tr>

 <tr>
        <td style="width:30%;">Hệ điều hành</td>
        <td>
            <asp:TextBox ID="txt_hdh" runat="server" Width="240px"></asp:TextBox>
            
        </td>
    </tr>

     <tr>
        <td style="width:30%;">Thời gian bảo hành</td>
        <td>
            <asp:TextBox ID="txt_tgia_bhanh" runat="server" Width="242px"></asp:TextBox>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">Khuyến mãi</td>
        <td>
            <asp:TextBox ID="txt_khuyenmai" runat="server" Width="244px"></asp:TextBox>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">Giá</td>
        <td>
            <asp:TextBox ID="txt_gia" runat="server" Width="249px"></asp:TextBox>
            
        </td>
    </tr>
     <tr>
        <td style="width:30%;">Nhà sản xuất</td>
        <td>
            <asp:DropDownList ID="ddl_nhasx" runat="server" Width="229px">
            </asp:DropDownList>
            
        </td>
    </tr> 

                    <tr>
                        <td colspan="4" align="center">
                            <asp:Button CssClass="button" ID="bt_sua" runat="server" Text="Sửa sản phẩm" Width="133px" OnClick="btn_sua_Click" />
                        </td>
                    </tr>
                    <!-- End tr button sua san pham-->
                </table>
        </div>
    </div>
</asp:Content>
